const { Switch } = require("../lib/types");

module.exports = {
    name: "ngx_http_mp4_module",
    map: {
        mp4: [String, , "location"],
        mp4_buffer_size: [String, "512k", ["http", "server", "location"]],
        mp4_max_buffer_size: [String, "10m", ["http", "server", "location"]],
        mp4_limit_rate: [[Switch, String], false, ["http", "server", "location"]],
        mp4_limit_rate_after: [String, "60s", ["http", "server", "location"]],
        mp4_start_key_frame: [Switch, false, ["http", "server", "location"]]
    }
}